package com.tuo51.bizgame.doctorcat.domain;

import com.tuo51.foudation.model.Domain;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "dc_task_record")
@EqualsAndHashCode(callSuper = true)
public class TaskRecord extends Domain {

    @Column(columnDefinition = "varchar(32) COMMENT '用户id'")
    private String userId;

    @Column(columnDefinition = "varchar(32) COMMENT '任务Id'")
    private String taskId;

    @Column(columnDefinition = "int default 0 COMMENT '等级'")
    private Integer sequence;

}
